import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyButton from '@/components/MyButton'
import MyTable from '@/components/MyTable'
import Department from '@/components/Department'
import MyUser from '@/components/MyUser'
import MyUser2 from '@/components/MyUser2'
import MyTable2 from '@/components/MyTable2'
import Department2 from '@/components/Department2'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/myButton',
      name: 'MyButton',
      component: MyButton
    },{
      path: '/myTable',
      name: 'MyTable',
      component: MyTable
    },{
      path: '/department',
      name: 'Department',
      component: Department
    },{
      path: '/myUser',
      name: 'MyUser',
      component: MyUser
    }
    ,{
      path: '/myUser2',
      name: 'MyUser2',
      component: MyUser2
    },{
      path: '/myTable2',
      name: 'MyTable2',
      component: MyTable2
    },{
      path: '/department2',
      name: 'Department2',
      component: Department2
    }
  ]
})
